From: Roberto Vargas Date: Mon, 12 Feb 2018 12:36:17 +0000 (+0000) Subject: Fix MISRA rule 8.8 in common code X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=ce3f9a6df7cd815ee45defee7114e278201f575d;p=project%2Fbcm63xx%2Fatf.git Fix MISRA rule 8.8 in common code Rule 8.8: The static storage class specifier shall be used in all declarations of objects and functions that have internal linkage. Change-Id: I1e94371caaadebb2cec38d0ae0fa5c59e43369e0 Signed-off-by: Roberto Vargas --- diff --git a/bl1/bl1_main.c b/bl1/bl1_main.c index b2e7c28c..c3332853 100644 --- a/bl1/bl1_main.c +++ b/bl1/bl1_main.c @@ -163,7 +163,7 @@ void bl1_main(void) * TODO: Add support for alternative image load mechanism e.g using virtio/elf * loader etc. ******************************************************************************/ -void bl1_load_bl2(void) +static void bl1_load_bl2(void) { image_desc_t *image_desc; image_info_t *image_info;